//
//  UIColor+ZK.m
//  ZAKER
//
//  Created by Anyfish002 on 16/2/16.
//  Copyright © 2016年 yaohongchao. All rights reserved.
//

#import "UIColor+ZK.h"

@implementation UIColor (ZK)

+ (UIColor*)zkColor{
    if([ZKThemeManager shareInstance].themeMode == ZKThemeMode_Day){
        //白天
        switch ([ZKThemeManager shareInstance].themeType) {
            case ZKThemeType_Blue:
            {
               return [UIColor colorWithHexString:@"1dadfc"];
            }
                break;
            case ZKThemeType_Pink:
            {
                return [UIColor colorWithHexString:@"e84f89"];
            }
                break;
            case ZKThemeType_Red:
            {
                return [UIColor colorWithHexString:@"f8494c"];
            }
                break;
            default:
                break;
        }
    }else{
        //夜间
        return [UIColor colorWithHexString:@"151515"];
    }
}

+ (UIColor*)bgColor{
    if([ZKThemeManager shareInstance].themeMode == ZKThemeMode_Day){
        //白天
        return [UIColor whiteColor];
    }else{
        //夜间
        return [UIColor colorWithHexString:@"151515"];
    }
}

@end
